home *** CD-ROM | disk | FTP | other *** search
- **
- ** $Source: dh1:network/parnet/Sana2/Sources/Spar_device.i,v $
- ** $State: Exp $
- ** $Revision: 37.1 $
- ** $Date: 93/08/24 20:41:45 $
- ** $Author: sap $
- **
- ** SANA-II Example device driver assembly include file
- **
- ** Portions (C) Copyright 1992 Commodore-Amiga, Inc.
- **
-
- include "exec/types.i"
- include "exec/devices.i"
- include "exec/ports.i"
- include "exec/semaphores.i"
-
-
- **
- ** SPAR Driver Device Base definition
- **
-
- SD_MAXUNITS EQU 8
-
- STRUCTURE SPARDev,LIB_SIZE
- UBYTE sd_Flags
- UBYTE sd_Pad1
- ULONG sd_SysLib
- ULONG sd_DosLib
- STRUCT sd_DosTag,10*4
- ULONG sd_SegList
- STRUCT sd_Units,SD_MAXUNITS*4
- STRUCT sd_Lock,SS_SIZE
- STRUCT sd_Startup,MN_SIZE+8
-
- LABEL SPARDev_Sizeof
-
- **
- ** Device Name Macro
- **
-
- SPARDEVNAME MACRO
- DC.B 'spar.device',0
- ENDM
-
- **
- ** Handy system call macro
- **
-
- jsrlib MACRO
- XREF _LVO\1
- jsr _LVO\1(a6)
- ENDM
-
-